import Vue from 'vue'

import {
  Button, Tabbar, TabbarItem, Grid, GridItem, Icon,
  Cell, CellGroup, NavBar, Field, Form, Toast, Image,
  Dialog, Tab, Tabs, List, PullRefresh, Popup, Search,
  Divider, Card, Picker, DatetimePicker, ImagePreview
} from 'vant'

Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(NavBar)
Vue.use(Field)
Vue.use(Form)
Vue.use(Toast)
Vue.use(Image)
Vue.use(Dialog)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(List)
Vue.use(PullRefresh)
Vue.use(Popup)
Vue.use(Search)
Vue.use(Divider)
Vue.use(Card)
Vue.use(Picker)
Vue.use(DatetimePicker)
Vue.use(ImagePreview)